﻿using System.ComponentModel.DataAnnotations;

namespace SmartApplication.Api.Dto
{
    public class FeedDto
    {
        /// <summary>
        /// 编号
        /// </summary>
        public long Id  { get; set; }
        /// <summary>
        /// 溯源编号
        /// </summary>
        public long SourceId { get; set; }

        /// <summary>
        /// 品种
        /// </summary>
        public string FeedVariety { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        public string FeedSource { get; set; }

        /// <summary>
        /// 饲养天数
        /// </summary>
        public int FeedDays { get; set; }

        /// <summary>
        /// 饲料品牌
        /// </summary>
        public string FeedFoodName { get; set; }

        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string FeedName { get; set; }

        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime? LeaveDate { get; set; }

        /// <summary>
        /// 企业外键
        /// </summary>
        public long CompaniesId { get; set; }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string CompaniesName { get; set; }

        /// <summary>
        /// 图片(动检证)
        /// </summary>
        public string Pic { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string ChargeName { get; set; }

        /// <summary>
        /// 存栏数量
        /// </summary>
        public int AnimalNumber { get; set; }

        /// <summary>
        /// 图片(企业照片)
        /// </summary>
        public string CompaniesPic { get; set; }
    }
}
